/**
 * Project  : Looker
 * Package  : net.freestu.looker.monitor
 * File     : OffsetPaging.java
 * Author   : solosky < solosky772@qq.com >
 * Date     : Aug 27, 2009
 * Modified : Aug 27, 2009
 * License  : Apache License 2.0 
 */
package net.freestu.looker.monitor;

/**
 *  
 */
public class OffsetPaging extends AbstractPaging
{

	/**
     * @param ut
     */
    public OffsetPaging(String ut)
    {
	    super(ut);
    }

	/* (non-Javadoc)
	 * @see net.freestu.looker.monitor.AbstractPaging#getURL(int)
	 */
	@Override
	public String getURL(int page)
	{
		return this.urlTemplate.replace("{page}",Integer.toString(page-1));
	}
}
